/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bgu.sonar.util.ex;

/**
 *
 * @author bennyl
 */
public class UncheckedInterruptedException extends RuntimeException {

    public UncheckedInterruptedException() {
        Thread.currentThread().interrupt();
    }

    public UncheckedInterruptedException(String message) {
        super(message);
        Thread.currentThread().interrupt();
    }

    public UncheckedInterruptedException(String message, Throwable cause) {
        super(message, cause);
        Thread.currentThread().interrupt();
    }

    public UncheckedInterruptedException(Throwable cause) {
        super(cause);
        Thread.currentThread().interrupt();
    }
}
